


const url = require('url')
let str = "http://127.0.0.1:3000/a/b/c/index.html?name=李四&age=18&gender=1#id"
console.log(url.parse(str,true));